package com.example.api.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class JudgeSubmitDTO {

    private String rabbitMsgId;

    private Long submitId;

    private Long userId;

    private Long examId;

    private Long questionId;

    //编程语言类型（0 java 1 C++）
    private Integer programType;

    //用户代码
    private String userCode;

    //默认代码
    private String mainFunc;

    private Integer score = 0;

    //题目用例
    private String questionCase;

    //时间限制 ms
    private Long timeLimit;

    //空间限制 kb
    private Long spaceLimit;

    //题目难度
    private Integer difficulty;
}
